package com.btpn.custody.web.m001.decorator;

import org.displaytag.decorator.TableDecorator;

import com.btpn.custody.web.m001.model.BranchModel;

public class BranchDecorator extends TableDecorator {
	
	private BranchModel branchModel;
	
	public String getCheckbox() {
		branchModel = (BranchModel) getCurrentRowObject();
		
		return "<input type='checkbox' name='_chk' id='checkboxid' value='" + branchModel.getBranchId() + "'/>";
	}

	public BranchModel getBranchModel() {
		return branchModel;
	}

	public void setBranchModel(BranchModel branchModel) {
		this.branchModel = branchModel;
	}
}
